package com.vains.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Api(tags = "测试接口")
@RequestMapping("/test")
public class TestController {

    @GetMapping("/test01")
    @ApiOperation(value = "测试1")
    public String test01() {
        return "test01";
    }

    @GetMapping("/test02")
    @ApiOperation(value = "测试2")
    public String test02() {
        return "test02";
    }

}
